package com.xebest.web.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author
 */
public class XeVenOrderInfoEntity implements Serializable {
	/**
	 * 标识
	 */
	private Integer id;
	
	/**
	 * 主单标识
	 */
	private String mainOrderId;
	
	/**
	 * 订单号
	 */
	private String orderId;

	/**
	 * 下单用户标识
	 */
	private String userId;

	/**
	 * 供应商编码
	 */
	private String userCode;

	/**
	 * 订单状态 ：1 已完成 2 已发货 3待发货 4已取消 5 待分配 6待审核
	 */
	private Integer orderStatus;
	/**
	 *	原订单状态
	 */
	private Integer oldOrderStatus;
	/**
	 * 原异常订单状态
	 */
	private Integer oldOrderException;
	/**
	 * 订单总金额
	 */
	private BigDecimal totalAmount;
	/**
	 * 差异金额
	 */
	private BigDecimal differenceAmount;

	/**
	 * 订单支付金额 = 订单总金额+运费总金额-优惠总金额-特批优惠金额
	 */
	private BigDecimal payAmount;

	/**
	 * 商品总金额
	 */
	private BigDecimal goodsAmount;

	/**
	 * 运费总金额
	 */
	private BigDecimal freAmount;

	/**
	 * 优惠总金额 =优惠券总金额+ 商品促销优惠总金额+ 订单促销优惠金额+ 订单减免总金额+ 使用积分优惠金额
	 */
	private BigDecimal pmtAmount;

	/**
	 * 优惠券总金额
	 */
	private BigDecimal cpnsPmtAomount;

	/**
	 * 付款状态 2:未支付;1:已支付
	 */
	private Integer payStatus;

	/**
	 * 支付类型 4: 在线支付1：货到付款2：到店自提3：银行汇款
	 */
	private Integer payType;

	/**
	 * 支付渠道 4：网银支付1：支付宝2：微信3：余额
	 */
	private Integer payChannel;

	/**
	 * 支付流水号
	 */
	private String payNumber;

	/**
	 * 支付成功时间
	 */
	private Date payTime;

	/**
	 * 配送方式 1 配送 2 委托自提 3 到店自提',
	 */
	private Integer shipType;
	/**
	 * 配送车辆信息id
	 */
	private Integer shipCarId;
	/**
	 * 指定车辆信息
	 */
	private String shipCarDes;
	/**
	 * 订单来源 4 pc 1：android 2：ios 3：微信 5：代客下单 6：其它 7:意向单
	 */
	private Integer orderSource;

	/**
	 * 订单类型  1一口价 2询报价
	 */
	private Integer orderType;

	/**
	 * 收货人
	 */
	private String caConsignee;

	/**
	 * 省份标识
	 */
	private String caProvinceId;

	/**
	 * 城市标识
	 */
	private String caCityId;

	/**
	 * 地区标识
	 */
	private String caAreaId;

	/**
	 * 详细街道地址
	 */
	private String caStreet;

	/**
	 * 电话
	 */
	private String caPhone;

	/**
	 * 邮政编码
	 */
	private String caPostalCode;

	/**
	 * 订单备注
	 */
	private String orderRemark;

	/**
	 * 创建人
	 */
	private String createrUser;

	/**
	 * 创建日期
	 */
	private Date createDate;

	/**
	 * 修改者
	 */
	private String modfiyUser;

	/**
	 * 修改日期
	 */
	private Date modifyDate;

	/**
	 * 版本号
	 */
	private Integer version;

	/**
	 * 1：自动分配 2：手动分配
	 */
	private Integer autoMatic;

	/**
	 * 卖家备注
	 */
	private String vendorRemark;

	/**
	 * 店铺名称
	 */
	private String storeName;

	/**
	 * 用户名
	 */
	private String loginAccount;

	/**
	 * 下单用户对应的易支付账户
	 */
	private String epayAccount;
	
	/**
	 * 发票类型   1:普通发票   2:增值税发票
	 */
	private Integer taxType;//发票类型 1:普通发票   2:增值税发票
	private Integer taxTitle;	//发票抬头 1 公司 2 个人
  	private String taxComAddr;  //发票公司地址
  	private String taxComPhone; //发票公司电话
  	private String taxBankName; //开户银行
	private String taxBankCardNum; //开户银行账号
  	private String taxNum; //发票公司税号
	/**
	 * 发票单位名称
	 */
	private String taxCompany;

	/**
	 * 发票内容
	 */
	private Integer taxContent;

	/**
	 * 取消备注
	 */
	private String cancelRemark;

	/**
	 * 取消原因 1：缺货取消 2：其他
	 */
	private Integer cancelStatus;

	/**
	 * 取消时间
	 */
	private Date cancelTime;

	/**
	 * 取消人
	 */
	private String cancelUser;

	/**
	 * 审核备注
	 */
	private String verifyRemark;

	/**
	 * 审核时间
	 */
	private Date verifyTime;

	/**
	 * 审核人
	 */
	private String verifyUser;

	/**
	 * 业务员ID
	 */
	private Integer salesmanId;

	/**
	 * 业务员电话
	 */
	private String salesmanPhone;

	/**
	 * 业务员姓名
	 */
	private String salesmanName;

	/**
	 * 是否是异常订单 1：无问题 2：有问题
	 */
	private Integer orderException;

	/**
	 * 1：冻品 2：鲜品
	 */
	private Integer frozenOrder;

	/**
	 * 发货日期
	 */
	private Date sendTime;

	/**
	 * 特批优惠金额
	 */
	private BigDecimal specialDisamount;

	/**
	 * 是否自主确认收货 1 客户自己 2 系统确认收货
	 */
	private Integer confirmGoodsType;

	/**
	 * 确认收货时间
	 */
	private Date confirmGoodsTime;

	/**
	 * 是否清真订单 1 非清真 2清真
	 */
	private Integer havePig;

	/**
	 * 拆分订单：1未拆分，2已拆分
	 */
	private Integer splitOrderStatus;

	/**
	 * 已拆分订单父订单号
	 */
	private String parentOrderid;

	/**
	 * 是否删除 1未删除 2已删除
	 */
	private Integer delFlag;

	/**
	 * 打印状态 1、未打印 2、已打印
	 */
	private Integer printStatus;

	/**
	 * 众品订单：1不是， 2是
	 */
	private Integer zpOrder;

	/**
	 * 订单标记 1已锁定 2已拆分 3特批优惠 4修改运费5缺货
	 */
	private String orderMark;

	/**
	 * 锁单状态：1未锁定 2已锁定
	 */
	private Integer lockStatus;
	/**
	 * 锁单备注
	 */
	private String lockRemark;
	/**
	 * 订单明细
	 */
	private List<XeVenOrderInfoDetailEntity> orderInfoDetailList;

	/**
	 * 仓库id
	 */
	private String storeId;
	/**
	 * 系统备注
	 */
	private String systemRemark;

	private String sourceId;//来源标识
	/**
	 * '确认实发数量 1：未确认 2：已确认',
	 */
	private Integer confirmSendNum;
	/**
	 * 订单销售人(货到付款用到)-下单业务员标识
	 */
	private Integer orderSalemanId;
	
	/**
	 * 货到付款手机号-下单业务员
	 */
	private String  orderCodMobile;
	
	/**
	 * 运营模式 1 自运营 2代运营
	 */
	private Integer operationFlag;
	
	/**
	 * 商户性质 1 自营 2 三方
	 */
	private Integer venType;
	/**
	 * ip地址
	 */
	private String ipAddr;
	/**
	 * 供应商名称（有店铺名称先店铺，没有取供应商名称）
	 */
	private String venName;
	private Integer autoOperationFlag; //运营模式 1 自运营 2代运营',
	private BigDecimal epayReceAmt;   //订单实发金额
	private List<String> orderIdList ;//订单号
	private BigDecimal epayAmount;
	private String printBatchNum;//打印批次号

	private String checkBatchNum;//波次号

	/**
	 * 采购类型 1 零采 2 整柜
	 */
	private Integer purchaseType;
	private Integer promotOrderType;
	
	/**
	 * 平台优惠券金额 v3.1.4 add 李贝贝
	 */
	private BigDecimal platPmtAmount;
	
	/**
	 * 订单来源方式 1：代客下单,2：意向单,3:自主下单v3.1.5add
	 */
	private Integer orderSourceType;
	
	
	public Integer getOrderSourceType() {
	
		return orderSourceType;
	}

	public void setOrderSourceType(Integer orderSourceType) {
	
		this.orderSourceType = orderSourceType;
	}

	public BigDecimal getPlatPmtAmount() {
	
		return platPmtAmount;
	}

	public void setPlatPmtAmount(BigDecimal platPmtAmount) {
	
		this.platPmtAmount = platPmtAmount;
	}

	public Integer getPromotOrderType() {
		return promotOrderType;
	}

	public void setPromotOrderType(Integer promotOrderType) {
		this.promotOrderType = promotOrderType;
	}

	public Integer getPurchaseType() {
	
		return purchaseType;
	}

	public void setPurchaseType(Integer purchaseType) {
	
		this.purchaseType = purchaseType;
	}

	public Integer getOldOrderException() {
		return oldOrderException;
	}

	public void setOldOrderException(Integer oldOrderException) {
		this.oldOrderException = oldOrderException;
	}

	public BigDecimal getEpayAmount() {
		return epayAmount;
	}

	public void setEpayAmount(BigDecimal epayAmount) {
		this.epayAmount = epayAmount;
	}

	public String getCheckBatchNum() {
		return checkBatchNum;
	}

	public void setCheckBatchNum(String checkBatchNum) {
		this.checkBatchNum = checkBatchNum;
	}

	public String getPrintBatchNum() {
		return printBatchNum;
	}

	public void setPrintBatchNum(String printBatchNum) {
		this.printBatchNum = printBatchNum;
	}

	public BigDecimal getEpayReceAmt() {
		return epayReceAmt;
	}

	public void setEpayReceAmt(BigDecimal epayReceAmt) {
		this.epayReceAmt = epayReceAmt;
	}

	public Integer getAutoOperationFlag() {
		return autoOperationFlag;
	}

	public void setAutoOperationFlag(Integer autoOperationFlag) {
		this.autoOperationFlag = autoOperationFlag;
	}

	public String getIpAddr() {
		return ipAddr;
	}

	public void setIpAddr(String ipAddr) {
		this.ipAddr = ipAddr;
	}

	public String getVenName() {
		return venName;
	}

	public void setVenName(String venName) {
		this.venName = venName;
	}

	public List<String> getOrderIdList() {
		return orderIdList;
	}

	public void setOrderIdList(List<String> orderIdList) {
		this.orderIdList = orderIdList;
	}

	public String getEpayAccount() {
	
		return epayAccount;
	}

	public void setEpayAccount(String epayAccount) {
	
		this.epayAccount = epayAccount;
	}

	public Integer getOldOrderStatus() {
		return oldOrderStatus;
	}

	public void setOldOrderStatus(Integer oldOrderStatus) {
		this.oldOrderStatus = oldOrderStatus;
	}

	public Integer getShipCarId() {
		return shipCarId;
	}

	public void setShipCarId(Integer shipCarId) {
		this.shipCarId = shipCarId;
	}

	public String getShipCarDes() {
		return shipCarDes;
	}

	public void setShipCarDes(String shipCarDes) {
		this.shipCarDes = shipCarDes;
	}

	public Integer getTaxTitle() {
		return taxTitle;
	}

	public void setTaxTitle(Integer taxTitle) {
		this.taxTitle = taxTitle;
	}

	public String getTaxComAddr() {
		return taxComAddr;
	}

	public void setTaxComAddr(String taxComAddr) {
		this.taxComAddr = taxComAddr;
	}

	public String getTaxComPhone() {
		return taxComPhone;
	}

	public void setTaxComPhone(String taxComPhone) {
		this.taxComPhone = taxComPhone;
	}

	public String getTaxBankName() {
		return taxBankName;
	}

	public void setTaxBankName(String taxBankName) {
		this.taxBankName = taxBankName;
	}

	public String getTaxBankCardNum() {
		return taxBankCardNum;
	}

	public void setTaxBankCardNum(String taxBankCardNum) {
		this.taxBankCardNum = taxBankCardNum;
	}

	public String getTaxNum() {
		return taxNum;
	}

	public void setTaxNum(String taxNum) {
		this.taxNum = taxNum;
	}

	public String getLockRemark() {
		return lockRemark;
	}

	public void setLockRemark(String lockRemark) {
		this.lockRemark = lockRemark;
	}

	public String getOrderMark() {
	
		return orderMark;
	}

	public void setOrderMark(String orderMark) {
	
		this.orderMark = orderMark;
	}

	public Integer getConfirmSendNum() {
	
		return confirmSendNum;
	}

	public void setConfirmSendNum(Integer confirmSendNum) {
	
		this.confirmSendNum = confirmSendNum;
	}

	

	public String getMainOrderId() {
	
		return mainOrderId;
	}

	public void setMainOrderId(String mainOrderId) {
	
		this.mainOrderId = mainOrderId;
	}

	public String getSourceId() {
	
		return sourceId;
	}

	public void setSourceId(String sourceId) {
	
		this.sourceId = sourceId;
	}

	public String getSystemRemark() {
	
		return systemRemark;
	}

	public void setSystemRemark(String systemRemark) {
	
		this.systemRemark = systemRemark;
	}

	private static final long serialVersionUID = 1L;

	public Integer getId() {

		return id;
	}

	public void setId(Integer id) {

		this.id = id;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public BigDecimal getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}

	public BigDecimal getPayAmount() {
		return payAmount;
	}

	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}

	public BigDecimal getGoodsAmount() {
		return goodsAmount;
	}

	public void setGoodsAmount(BigDecimal goodsAmount) {
		this.goodsAmount = goodsAmount;
	}

	public BigDecimal getFreAmount() {
		return freAmount;
	}

	public void setFreAmount(BigDecimal freAmount) {
		this.freAmount = freAmount;
	}

	public BigDecimal getPmtAmount() {
		return pmtAmount;
	}

	public void setPmtAmount(BigDecimal pmtAmount) {
		this.pmtAmount = pmtAmount;
	}

	public BigDecimal getCpnsPmtAomount() {
		return cpnsPmtAomount;
	}
	public BigDecimal getDifferenceAmount() {
	
		return differenceAmount;
	}

	public void setDifferenceAmount(BigDecimal differenceAmount) {
	
		this.differenceAmount = differenceAmount;
	}

	public void setCpnsPmtAomount(BigDecimal cpnsPmtAomount) {
		this.cpnsPmtAomount = cpnsPmtAomount;
	}

	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public Integer getPayChannel() {
		return payChannel;
	}

	public void setPayChannel(Integer payChannel) {
		this.payChannel = payChannel;
	}

	public String getPayNumber() {
		return payNumber;
	}

	public void setPayNumber(String payNumber) {
		this.payNumber = payNumber;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Integer getShipType() {
		return shipType;
	}

	public void setShipType(Integer shipType) {
		this.shipType = shipType;
	}

	public Integer getOrderSource() {
		return orderSource;
	}

	public void setOrderSource(Integer orderSource) {
		this.orderSource = orderSource;
	}

	public Integer getOrderType() {
		return orderType;
	}

	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}

	public String getCaConsignee() {
		return caConsignee;
	}

	public void setCaConsignee(String caConsignee) {
		this.caConsignee = caConsignee;
	}

	public String getCaProvinceId() {
		return caProvinceId;
	}

	public void setCaProvinceId(String caProvinceId) {
		this.caProvinceId = caProvinceId;
	}

	public String getCaCityId() {
		return caCityId;
	}

	public void setCaCityId(String caCityId) {
		this.caCityId = caCityId;
	}

	public String getCaAreaId() {
		return caAreaId;
	}

	public void setCaAreaId(String caAreaId) {
		this.caAreaId = caAreaId;
	}

	public String getCaStreet() {
		return caStreet;
	}

	public void setCaStreet(String caStreet) {
		this.caStreet = caStreet;
	}

	public String getCaPhone() {
		return caPhone;
	}

	public void setCaPhone(String caPhone) {
		this.caPhone = caPhone;
	}

	public String getCaPostalCode() {
		return caPostalCode;
	}

	public void setCaPostalCode(String caPostalCode) {
		this.caPostalCode = caPostalCode;
	}

	public String getOrderRemark() {
		return orderRemark;
	}

	public void setOrderRemark(String orderRemark) {
		this.orderRemark = orderRemark;
	}

	public String getCreaterUser() {
		return createrUser;
	}

	public void setCreaterUser(String createrUser) {
		this.createrUser = createrUser;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getModfiyUser() {
		return modfiyUser;
	}

	public void setModfiyUser(String modfiyUser) {
		this.modfiyUser = modfiyUser;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Integer getAutoMatic() {
		return autoMatic;
	}

	public void setAutoMatic(Integer autoMatic) {
		this.autoMatic = autoMatic;
	}

	public String getVendorRemark() {
		return vendorRemark;
	}

	public void setVendorRemark(String vendorRemark) {
		this.vendorRemark = vendorRemark;
	}

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public String getLoginAccount() {
		return loginAccount;
	}

	public void setLoginAccount(String loginAccount) {
		this.loginAccount = loginAccount;
	}

	
	public Integer getTaxType() {
	
		return taxType;
	}

	public void setTaxType(Integer taxType) {
	
		this.taxType = taxType;
	}

	public Integer getTaxContent() {
	
		return taxContent;
	}

	public void setTaxContent(Integer taxContent) {
	
		this.taxContent = taxContent;
	}

	public String getTaxCompany() {
		return taxCompany;
	}

	public void setTaxCompany(String taxCompany) {
		this.taxCompany = taxCompany;
	}

	

	public String getCancelRemark() {
		return cancelRemark;
	}

	public void setCancelRemark(String cancelRemark) {
		this.cancelRemark = cancelRemark;
	}

	public Integer getCancelStatus() {
		return cancelStatus;
	}

	public void setCancelStatus(Integer cancelStatus) {
		this.cancelStatus = cancelStatus;
	}

	public Date getCancelTime() {
		return cancelTime;
	}

	public void setCancelTime(Date cancelTime) {
		this.cancelTime = cancelTime;
	}

	public String getCancelUser() {
		return cancelUser;
	}

	public void setCancelUser(String cancelUser) {
		this.cancelUser = cancelUser;
	}

	public String getVerifyRemark() {
		return verifyRemark;
	}

	public void setVerifyRemark(String verifyRemark) {
		this.verifyRemark = verifyRemark;
	}

	public Date getVerifyTime() {
		return verifyTime;
	}

	public void setVerifyTime(Date verifyTime) {
		this.verifyTime = verifyTime;
	}

	public String getVerifyUser() {
		return verifyUser;
	}

	public void setVerifyUser(String verifyUser) {
		this.verifyUser = verifyUser;
	}

	

	public Integer getSalesmanId() {
	
		return salesmanId;
	}

	public void setSalesmanId(Integer salesmanId) {
	
		this.salesmanId = salesmanId;
	}

	public String getSalesmanPhone() {
		return salesmanPhone;
	}

	public void setSalesmanPhone(String salesmanPhone) {
		this.salesmanPhone = salesmanPhone;
	}

	public String getSalesmanName() {
		return salesmanName;
	}

	public void setSalesmanName(String salesmanName) {
		this.salesmanName = salesmanName;
	}

	public Integer getOrderException() {
		return orderException;
	}

	public void setOrderException(Integer orderException) {
		this.orderException = orderException;
	}

	public Integer getFrozenOrder() {
		return frozenOrder;
	}

	public void setFrozenOrder(Integer frozenOrder) {
		this.frozenOrder = frozenOrder;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public BigDecimal getSpecialDisamount() {
		return specialDisamount;
	}

	public void setSpecialDisamount(BigDecimal specialDisamount) {
		this.specialDisamount = specialDisamount;
	}

	public Integer getConfirmGoodsType() {
		return confirmGoodsType;
	}

	public void setConfirmGoodsType(Integer confirmGoodsType) {
		this.confirmGoodsType = confirmGoodsType;
	}

	public Date getConfirmGoodsTime() {
		return confirmGoodsTime;
	}

	public void setConfirmGoodsTime(Date confirmGoodsTime) {
		this.confirmGoodsTime = confirmGoodsTime;
	}

	public Integer getHavePig() {
		return havePig;
	}

	public void setHavePig(Integer havePig) {
		this.havePig = havePig;
	}

	public Integer getSplitOrderStatus() {
		return splitOrderStatus;
	}

	public void setSplitOrderStatus(Integer splitOrderStatus) {
		this.splitOrderStatus = splitOrderStatus;
	}

	public String getParentOrderid() {
		return parentOrderid;
	}

	public void setParentOrderid(String parentOrderid) {
		this.parentOrderid = parentOrderid;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public Integer getPrintStatus() {
		return printStatus;
	}

	public void setPrintStatus(Integer printStatus) {
		this.printStatus = printStatus;
	}



	public Integer getZpOrder() {
	
		return zpOrder;
	}

	public void setZpOrder(Integer zpOrder) {
	
		this.zpOrder = zpOrder;
	}


	public Integer getLockStatus() {
		return lockStatus;
	}

	public void setLockStatus(Integer lockStatus) {
		this.lockStatus = lockStatus;
	}

	public List<XeVenOrderInfoDetailEntity> getOrderInfoDetailList() {

		return orderInfoDetailList;
	}

	public void setOrderInfoDetailList(
			List<XeVenOrderInfoDetailEntity> orderInfoDetailList) {

		this.orderInfoDetailList = orderInfoDetailList;
	}

	public String getStoreId() {

		return storeId;
	}

	public void setStoreId(String storeId) {

		this.storeId = storeId;
	}

	public Integer getOrderSalemanId() {
	
		return orderSalemanId;
	}

	public void setOrderSalemanId(Integer orderSalemanId) {
	
		this.orderSalemanId = orderSalemanId;
	}

	public String getOrderCodMobile() {
	
		return orderCodMobile;
	}

	public void setOrderCodMobile(String orderCodMobile) {
	
		this.orderCodMobile = orderCodMobile;
	}

	public Integer getOperationFlag() {
	
		return operationFlag;
	}

	public void setOperationFlag(Integer operationFlag) {
	
		this.operationFlag = operationFlag;
	}

	public Integer getVenType() {
	
		return venType;
	}

	public void setVenType(Integer venType) {
	
		this.venType = venType;
	}
}